I'm using SC++ 7.0 to compile Sprocket and have run into the same problems I encountered when I porting Threaded Sprocket. I was using SC++ 7.0, the version of the Apple Universal Headers as of Nov. 1994, and CodeWarrior Gold as of July 1994. (I went ahead and deleted traces of the old sprocket and the new universal headers before compiling. I think it was all gone when I did this.)
Steps:
1. Copy into the Symantec Universal Headers folder, from the latest Universal Headers: Drag.h, Threads.h, GestaltEqu.h, Gestalt.h, the AOCE folder, the QuickDraw GX folder.
2. Drag the file Sprocket into the Sprocket Sample folder if it's not there already.
3. Make an alias to the Sprocket Sample folder, and drag it into the Aliases folder in the Symantec C++ folder.
4. Read the following, make the changes, and it will compile.
I get a compile error:
File “Sprocket.h”; Line 136: extern FrontWindowUPP FrontWindowProcForAOCEUPP;
I also get an error in Window.cp that dragNotAcceptedErr is undefined.
This error happens because Symantec and Apple and MetroWorks ship
different Universal Headers! MetroWorks ships some headers that have
not been rolled into the Universal Headers as of November 1994.
I dealt with this problem by copying the following lines from the MetroWorks headers. The first part is from Drag.h, the second part is from the AOCE headers (don't remember exactly which).